<?php



class PDOConfig {
	
	private $engine;
	private $host;
	private $database;
	private $user;
	private $pass;
	
	public function __construct() {
		$this->engine = 'mysql';
		$this->host = 'localhost';
		$this->database = 'online-examination';
		$this->user = 'root';
		$this->pass = '';
	}
	
	public function getDns() {
		return $this->engine.':dbname='.$this->database.';host='.$this->host;
	}
	
	public function getUsername() {
		return $this->user;
	}
	
	public function getPassword() {
		return $this->pass;
	}
	
	
	
}